Skip to main content

CreateIpSegment

Description

add the specified monitoring network segment.

Request Method

POST

Request Path

/apsara/route/Ddosprivate/CreateIpSegment

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
IpSegmentNameBODYstringYesNo sample value for this parameter.the monitoring network segment to be added, in the format of x.x.x.x/x, for example, 172.21.23.222/24.
InfoNameBODYstringNoNo sample value for this parameter.identifies the relevant information of the network segment in combination with the values of InfoType parameters. For example, for the distribution information type, enter the DXJF value to indicate that the network segment belongs to the Daxing data center area.
InfoTypeBODYstringNoNo sample value for this parameter.the type of information about this network segment. For example, distribution can be used to represent area information.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstringno demo valuerequest ID.

Example

Successful Response example

{
"RequestId":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}